package cn.bgs.service;

import cn.bgs.pojo.Grade;
import cn.bgs.pojo.VoAll.GradeVo;
import cn.bgs.pojo.Student;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author Mr.JIA
 * @DATE 2021/8/2 0002 8:37
 * @PROJECT_NAME mybatis_phoenix
 * @PACKAGE_NAME cn.bgs.service
 */
public interface GradeService{


    int deleteByPrimaryKey(Integer pkId);

    int insert(Grade record);

    int insertSelective(Grade record);

    Grade selectByPrimaryKey(Integer pkId);

    int updateByPrimaryKeySelective(Grade record);

    int updateByPrimaryKey(Grade record);


    List<Student> findAllGrade(GradeVo vo);

    Integer addGrade(Grade gra);

    Integer delGrade(Integer pkId);

    Integer updGrade(Grade gra);
}
